<?

//Initiate Authenticate
SecurityRedirect ();

//initiate Vars
define("PRIMARY_KEY","skada");
$KEY[]         = array("PRIMARY_KEY"=>PRIMARY_KEY);
$FileName      = "ais_report_accactivity.php";
$FileTemplate  = "ais_report_accactivity_list.html";
$TableName     = "ais_memorial";
$SubHeaderTitle= "Report Account Activity";
$PageSize      = 10 ;
$HTMLGridList  = "ACTGrid";
//************ FORM ACTION **************

//Initiate Database Table For Search;

//******* DATABASE FORM QUERY ***********

//******* SHOW FORM CONTENT *********

$TBS = new clsTinyButStrong ;
$TBS->LoadTemplate($MOD_TEMPLATE_DIR."/".$FileTemplate);


$SQLOffice = "SELECT * FROM tblkantor";
$TBS->MergeBlock("officeformblk",$DBMysql,$SQLOffice);
$SQLCOA = "SELECT * FROM tblcoa WHERE tipe=0 AND ktrasl='".GetOfficeID()."' ";
$TBS->MergeBlock("coaformblk",$DBMysql,$SQLCOA);
$TBS->MergeBlock("coaformblk2",$DBMysql,$SQLCOA);
$TBS->Show();


?>
